package com.eco.fanliapp.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eco.fanliapp.entity.AppFeedBack;
import com.eco.fanliapp.entity.LoginSwitch;
import com.eco.fanliapp.vo.AppFeedBackVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 分类 数据层
 *
 * @author xiaoxx
 * @date 2019-04-25
 */

public interface AppFeedBackMapper extends BaseMapper<AppFeedBack> {

    int insertAppFeedBackMapper(AppFeedBack AppFeedBack);

    /**
     * 查询所有信息
     *
     * @return
     */
    LoginSwitch selectLoginSwitch(Integer tableId);

    List<AppFeedBackVo> selectfeedBackList(@Param("userName") String userName, @Param("keyWord") String keyWord, @Param("phone") String phone);

    List<AppFeedBack> findfeedBackList(@Param("userId") String userId, @Param("start") Integer start, @Param("end") Integer end);

}